<?php

namespace app\index\model;

use think\Model;
use traits\think\Instance;

/**
 * member类 
 * @author      lixin 
 * @version     1.0 版本号
 */
class Member extends BaseModel
{

    protected $autoWriteTimestamp = true;

//    use Instance;
//    public function __construct()
//    {
//        parent::__construct();
//    }

    protected static function init()
    {
        parent::init();
    }

    public function reflect()
    {
        return $this->hasMany('Reflect', 'member_id', 'id');
    }

}
